package edu.uclm.esi.tysweb.ajedrez.dominio;

import org.json.simple.JSONObject;

public class AvisoDeLlegada {

	private String email;

	public AvisoDeLlegada(String email) {
		this.email=email;
	}

	public String toJSONString() {
		JSONObject jso=new JSONObject();
		jso.put("tipo", "avisoDeLlegada");
		jso.put("emailDelLlegado", email);
		String result=jso.toJSONString();
		return result;
	}

}
